package core.service
{
public class ErrorResponse
{
    public function ErrorResponse(response:*)
    {
        _message = response.message;
        _method = response.method;
    }
    
    private var _message:String;

    public function get message():String
    {
        return _message;
    }
    
    private var _method:String;

    public function get method():String
    {
        return _method;
    }
	
	private var _request:ServiceRequest;
	
	service_ns function set request(value:ServiceRequest):void
	{
		_request = value;
	}
	
	public function get request():ServiceRequest
	{
		return _request;
	}

}
}